package com.qx.pethome.entity;

import java.util.Date;

public class Log {
    public static final boolean L_CONTENT_NO=false;//操作内容，0是未通过
    public static final boolean L_CONTENT_YES=true;//操作内容，1是已通过
    private Integer lId;//日志编号
    private Date lTime;//操作时间
    private Integer admId;//管理员编号
    private Integer uId;//领养人编号
    private Integer pId;//宠物编号
    private Integer lContent;//操作内容，0是未通过，1是已通过


    public Log() {
    }

    public Log(Date lTime, Integer admId, Integer uId, Integer pId, Integer lContent) {
        this.lTime = lTime;
        this.admId = admId;
        this.uId = uId;
        this.pId = pId;
        this.lContent = lContent;
    }

    public Log(Integer lId, Date lTime, Integer admId, Integer uId, Integer pId, Integer lContent) {
        this.lId = lId;
        this.lTime = lTime;
        this.admId = admId;
        this.uId = uId;
        this.pId = pId;
        this.lContent = lContent;
    }

    public Integer getlId() {
        return lId;
    }

    public void setlId(Integer lId) {
        this.lId = lId;
    }

    public Date getlTime() {
        return lTime;
    }

    public void setlTime(Date lTime) {
        this.lTime = lTime;
    }

    public Integer getAdmId() {
        return admId;
    }

    public void setAdmId(Integer admId) {
        this.admId = admId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getlContent() {
        return lContent;
    }

    public void setlContent(Integer lContent) {
        this.lContent = lContent;
    }

    @Override
    public String toString() {
        return "日志表{" +
                "日志编号=" + lId +
                ", 操作时间=" + lTime +
                ", 管理员编号=" + admId +
                ", 领养人编号=" + uId +
                ", 宠物编号=" + pId +
                ", 操作内容=" + lContent +
                '}';
    }
}
